home *** CD-ROM | disk | FTP | other *** search
XSetup plugin | 2000-04-03 | 1.3 KB | 63 lines |
- "FILE"="Xteq Systems X-Setup Plugin 5.0"
- "TYPE"="5"
- "COUNT"="1"
- "UIPATH"="Program Options\Other Programs\WinZIP"
- "NAME"="Clear Items"
- "VERSION"="1.01"
- "LANGUAGE"="VBScript"
- "TEXT 1"="Clear recent file list"
- "TEXT 2"="Clear Radio Links"
- "TEXT 3"="C"
- "TEXT 4"="D"
- "DESCRIPTION 1"="If you do not want that other people can see the items you have opened, click the button."
- "AUTHOR"="Xteq Systems"
- "CONTACTURL"="http://www.xteq.com"
- "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
- "COMMENT 1"=" "
- "COMMENT 2"="Thanks to CptSiskoX for his help!"
-
- sP="HKCU\Software\Nico Mak Computing\WinZip\filemenu\"
-
-
- Sub Plugin_Initialize
- If RegPathExists(sP)=false then
- Disable()
- end if
- End Sub
-
- Sub Plugin_CheckData(ElementIndex)
- End Sub
-
- Sub Plugin_Apply(ElementIndex,ElementSubIndex)
- if ElementIndex=1 then
- for l=1 to 30
- s="filemenu" & l
- v=RegReadValue(sP & s)
-
- If IsEmpty(v)=false then
- Call RegDeleteValue(sP & S)
- end if
- Next
-
- Call MsgInformation("Cleared!")
- end if
-
-
- if ElementIndex=2 then
- 'i=RegEnumValues(sp2a)
- 'for l=1 to i
- ' Call RegDeleteValue(sp2a & RegEnumElement(l))
- 'Next
- 'Call RegWriteValue(sp2b,0,2)
-
-
- 'Call MsgInformation("Radio links cleared")
- end if
-
-
-
- End Sub
-
- Sub Plugin_Terminate
- End Sub
-